﻿<%@ Page Language="C#" MasterPageFile="~/Globals/GenericMasterPage.master" AutoEventWireup="true"
    CodeFile="ABMClaseDeLote.aspx.cs" Inherits="Modules_ClasificacionIncubacion_ABMClaseDeLote"
    Title="Gestion de Lotes" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc3" %>

<%@ Register Src="../../Controls/TecnopezDataGRIDABMView.ascx" TagName="TecnopezDataGRIDABMView"
    TagPrefix="uc2" %>

<%@ Register Src="../../Controls/TecnoPezUpdateProgress.ascx" TagName="TecnoPezUpdateProgress"
    TagPrefix="uc1" %>

<%@ Register Assembly="Microsoft.Practices.EnterpriseLibrary.Validation.Integration.AspNet"
    Namespace="Microsoft.Practices.EnterpriseLibrary.Validation.Integration.AspNet"
    TagPrefix="cc1" %>
<%@ Register Assembly="MsgBox" Namespace="MsgBox" TagPrefix="cc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CPHPrincipal" runat="Server">
    <asp:ScriptManager ID="ScriptManagerEnfermedades" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanelClaseDeLote" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <asp:Wizard ID="wzrABM" runat="server" ActiveStepIndex="0" BorderColor="#B5C7DE"
                BorderWidth="0px" Font-Names="Verdana" Font-Size="0.8em" DisplaySideBar="False">
                <StepStyle Font-Size="0.8em" ForeColor="#333333" VerticalAlign="Top" />
                <SideBarStyle BackColor="#507CD1" Font-Size="0.9em" VerticalAlign="Top" />
                <NavigationButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid"
                    BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284E98" />
                <WizardSteps>
                    <asp:WizardStep ID="wzrBusqueda" runat="server" StepType="Complete" Title="Busqueda">
                        <table style="width: 100%" id="TableData" cellspacing="0">
                            <tr>
                                <td colspan="3" class="cabeceraTabla">
                                    Buscar clases de lotes</td>
                            </tr>
                            <tr>
                                <td style="width: 200px" class="columnaLabels">
                                    <asp:Label ID="lblBuscarDescripcion" runat="server" Text="Descripci&#243;n" Width="200px"></asp:Label></td>
                                <td style="width: 210px;" class="columnaData">
                                    <asp:TextBox ID="txtBuscarDescripcion" runat="server" Width="200px"></asp:TextBox></td>
                                <td rowspan="2" valign="top" style="width: 105px">
                                    <asp:Button ID="cmdBuscar" runat="server" Text="Buscar" CssClass="Boton" Height="23px"
                                        Width="102px" BorderStyle="None" OnClick="cmdBuscar_Click" />
                                    <asp:Button ID="cmdNuevo" runat="server" Text="Nueva" Width="102px" CssClass="Boton"
                                        Height="23px" OnClick="cmdNuevo_Click" />
                                </td>
                            </tr>
                            <tr>
                                <td colspan="3" style="height: 170px">
                                    <uc2:TecnopezDataGRIDABMView ID="TecnopezDataGRIDABMView1" runat="server" />
                                </td>
                            </tr>
                        </table>
                    </asp:WizardStep>
                    <asp:WizardStep ID="wzrEdicion" runat="server" StepType="Complete" Title="Edicion">
                        <table width="100%" cellspacing="0">
                            <tr>
                                <td colspan="4" class="cabeceraTabla" style="height: 20px">
                                    <asp:Label ID="lblTituloAbm" runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td class="columnaLabels" style="width: 200px;">
                                    <asp:Label ID="Label1" runat="server" Text="C&#243;digo" Width="200px"></asp:Label></td>
                                <td class="columnaData" style="width: 205px;">
                                    <asp:TextBox ID="txtID" runat="server" Width="200px"></asp:TextBox>
                                </td>
                                <td class="columnaData" style="width: 1px;">
                                    &nbsp;</td>
                                <td style="width: 7px;" rowspan="1" valign="top">
                                    <asp:Button ID="cmdEditar" runat="server" Text="Editar" Width="102px" CssClass="Boton"
                                        Height="23px" CausesValidation="False" OnClick="cmdEditar_Click" />
                                    <asp:Button ID="cmdEliminar" runat="server" Text="Eliminar" CssClass="Boton" Height="23px"
                                        Width="102px" CausesValidation="False" OnClick="cmdEliminar_Click" />
                                </td>
                            </tr>
                            <tr>
                                <td valign="top" class="columnaLabels" style="width: 200px">
                                    <asp:Label ID="Label4" runat="server" Text="Descripci&#243;n" Width="200px"></asp:Label></td>
                                <td valign="top" class="columnaData" style="width: 205px">
                                    <asp:TextBox ID="txtDescripci&#243;n" runat="server" Rows="10" TextMode="MultiLine"
                                        Width="200px"></asp:TextBox></td>
                                <td class="columnaData" valign="top" style="width: 1px">
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtDescripci&#243;n"
                                        ErrorMessage="*"></asp:RequiredFieldValidator>
                                    &nbsp;</td>
                                <td valign="bottom" style="width: 7px">
                                    &nbsp;<asp:Button ID="cmdAceptar" runat="server" Text="Aceptar" CssClass="Boton" Height="23px"
                                        Width="102px" OnClick="cmdAceptar_Click" /><asp:Button ID="cmdCancelar" runat="server"
                                            Text="Cancelar" CssClass="Boton" Height="23px" Width="102px" CausesValidation="False"
                                            OnClick="cmdCancelar_Click" />
                                </td>
                            </tr>
                            <tr>
                                <td valign="top" colspan="2" style="height: 25px">
                                    <asp:Label ID="lblResultado" runat="server" CssClass="errorLabel"></asp:Label>
                                    <br />
                                    <cc1:PropertyProxyValidator ID="valDescripcion" runat="server" ControlToValidate="txtDescripci&#243;n"
                                        Display="Dynamic" DisplayMode="List" PropertyName="Descripcion" RulesetName=""
                                        SetFocusOnError="True" SourceTypeName="BussinessLogicTecnoPez.Produccion.Clasificacion_e_Incubacion.claseDeLote"></cc1:PropertyProxyValidator>
                                </td>
                                <td colspan="1" style="height: 25px; width: 1px;" valign="top">
                                </td>
                                <td valign="top" style="width: 7px; height: 25px;">
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" style="height: 25px" valign="top">
                                    &nbsp;
                                </td>
                                <td colspan="1" style="height: 25px; width: 1px;" valign="top">
                                </td>
                                <td style="width: 7px; height: 25px" valign="top">
                                </td>
                            </tr>
                        </table>
                    </asp:WizardStep>
                </WizardSteps>
                <SideBarButtonStyle BackColor="#507CD1" Font-Names="Verdana" ForeColor="White" />
                <HeaderStyle BackColor="#284E98" BorderColor="#EFF3FB" BorderStyle="Solid" BorderWidth="2px"
                    Font-Bold="True" Font-Size="0.9em" ForeColor="White" HorizontalAlign="Center" />
            </asp:Wizard>
        </ContentTemplate>
    </asp:UpdatePanel>
    <uc1:TecnoPezUpdateProgress ID="TecnoPezUpdateProgress1" runat="server" />
</asp:Content>
